package com.ydzh.kfqgwvisitor.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import java.io.Serializable;

/**
 * <p>
 * 访客信息表
 * </p>
 *
 * @author zcj
 * @since 2021-09-02
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value = "VisitorFaceDTO对象", description = "陪同人员活体验证 ")
public class VisitorFaceDTO implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "陪同人员的id")
    @NotNull(message = "陪同人员的id不能为空")
    private Long id;


    @ApiModelProperty(value = "陪同人员照片")
    @NotBlank(message = "陪同人员照片不能为空")
    private String visitorImg;
}
